class Network < ActiveRecord::Base
  
  validates_presence_of     :name
  validates_presence_of     :computer_id
  validates_presence_of     :submask
  
  belongs_to :computer
  has_many :computers
  has_and_belongs_to_many :rooms
  
end
